package com.tjbank.cssys.web.service.impl;

import com.tjbank.cssys.domain.CkOrderMissedFrequency;
import com.tjbank.cssys.repository.CkOrderMissedFrequencyMapper;
import com.tjbank.cssys.web.service.CkOrderMissedFrequencyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;


@Service
public class CkOrderMissedFrequencyServiceImpl implements CkOrderMissedFrequencyService {
    @Autowired
    private CkOrderMissedFrequencyMapper ckOrderMissedFrequencyMapper;

    @Override
    public List<CkOrderMissedFrequency> selectBySerialNumber(Set<String> serialNumbers) {

        return ckOrderMissedFrequencyMapper.selectBySerialNumber(serialNumbers);
    }

    @Override
    public void updateForeach(List<CkOrderMissedFrequency> updateCkOrderMissedFrequencies) {
        ckOrderMissedFrequencyMapper.updateForeach(updateCkOrderMissedFrequencies);
    }

    @Override
    public void insertForeach(List<CkOrderMissedFrequency> addCkOrderMissedFrequencies) {
        ckOrderMissedFrequencyMapper.insertForeach(addCkOrderMissedFrequencies);
    }
}
